package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author luoxi
 * @create 2020/11/19 19:56
 */
@Data
@TableName("data_sync_table_log")
public class DataSyncTableLog extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 6434785555522684750L;

    @ApiModelProperty(value = "数据库",name="dbName")
    private String dbName;

    @ApiModelProperty(value = "url",name="dbUrl    ")
    private String dbUrl;

    @ApiModelProperty(value = "表名",name="tableName")
    private String tableName;

    @ApiModelProperty(value = "调度队列",name="dispatchQueue")
    private String dispatchQueue;

    @ApiModelProperty(value = "同步状态 0:未同步 1:已同步 2:同步失败",name="syncStatus")
    private Integer syncStatus;

    @ApiModelProperty(value = "同步失败原因",name="failReason")
    private String failReason;

    @ApiModelProperty(value = "dataInfoId",name="dataInfoId")
    private Integer dataInfoId;

}
